package com.xjc.business.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 楼宇表
 * @TableName buildings
 */
@TableName(value ="buildings")
@Data
public class Buildings implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 楼号
     */
    private Integer bno;

    /**
     * 楼层数
     */
    private Integer bfn;

    /**
     * 宿舍数
     */
    private Integer dn;

    private Integer type;

    /**
     * 已住人数
     */
    private Integer hasLiving;

    /**
     * 未住人数
     */
    private Integer notLiving;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}